# Exit script

この制御ステートメントは、スクリプトの実行を停止します。スクリプト内の任意の場所に挿入できます。

構文:

Exit Script [ (when | unless) condition ]

exit script ステートメントは、制御ステートメントであり、セミコロンまたは改行コードで終わるため、行をまたぐことはできません。

引数：

Exit スクリプト引数

| 引数 | 説明 |
| --- | --- |
| condition | True または False の評価を実施する論理式。 |
| when / unless | exit script ステートメントは、when やunless 節をオプションで使用して、条件を付けることができます。 |

`//Exit script` `Exit Script;` ` ` `//Exit script when a condition is fulfilled` `Exit 
 Script when a=1`

## 詳細を見る

* [Exit](https://help.qlik.com/ja-JP/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptControlStatements/Exit.htm)
* 